package domain.entity;

/**
 * 实体类-基类
 *
 * @author 周志豪
 * @since 2025/5/21 15:45
 */
public abstract class BaseEntity {

    /**
     * 主键 ID，只读的属性
     */
    private int id;

    public int getId() {
        return id;
    }

    public BaseEntity() {
    }

    public BaseEntity(int id) {
        this.id = id;
    }
}
